import React from 'react';
import { IonReactRouter } from '@ionic/react-router';
import { IonRouterOutlet } from '@ionic/react';
import { Route, Redirect } from 'react-router-dom';
import TabsContainer from './TabsContainer';

const AppRouter: React.FC = () => {
  return (
    <IonReactRouter>
      <IonRouterOutlet>
        <Route path="/" render={() => <TabsContainer />} />
      </IonRouterOutlet>
    </IonReactRouter>
  );
};

export default AppRouter;